<!DOCTYPE html>
<div ng-controller="shopProductCtrl">
	<div class="well">
		<div class="titleContainer">
			<div class="leftTitle">商户产品</div>
		</div>
		
		<div class="formContainer">
			<div class="form-horizontal">
				<div class="form-group">
					<div class="form-horizontal col-sm-4" ng-show="class_show">
			            <div class="form-group">
			                <label class="col-sm-4 control-label">分类</label>
			                <div class="col-sm-8">
			                	<input type="text" id="productClass"/>
			                </div>
			            </div>
			        </div>
			        <div class="form-horizontal col-sm-4" ng-show="series_show">
			            <div class="form-group">
			                <label class="col-sm-4 control-label">系列</label>
			                <div class="col-sm-8">
			                	<input type="text" id="productSeries"/>
			                </div>
			            </div>
			        </div>
					<div class="form-horizontal col-sm-4">
			            <div class="form-group">
			                <label class="col-sm-4 control-label">产品标题</label>
			                <div class="col-sm-8">
			                	<input type="text" class="form-control" ng-model="search.activity_name"/>
			                </div>
			            </div>
			        </div>
			        <div class="form-horizontal col-sm-4" ng-show="shopName_show">
			            <div class="form-group">
			                <label class="col-sm-4 control-label">商户名称</label>
			                <div class="col-sm-8">
			                	<input type="text" class="form-control" ng-model="search.activity_name"/>
			                </div>
			            </div>
			        </div>
			        <div class="form-horizontal col-sm-4" ng-show="productState_show">
			            <div class="form-group">
			                <label class="col-sm-4 control-label">状态</label>
			                <div class="col-sm-8">
			                	<input type="text" id="productState"/>
			                </div>
			            </div>
			        </div>
			       <div class="buttons-wrap clearBoth">
						<button class="k-button k-state-default" ng-click="search()">查询</button>
					</div>
				</div>
			</div>
		</div>
		
		<div id="operateButtonGroup" class="operateContainer">
			<button class="k-button k-state-default" ng-click="chooseAll('recordClass',true)">全选</button>
			<button class="k-button k-state-default" ng-click="chooseAll('recordClass',false)">取消</button>
			<button class="k-button k-state-default" ng-click="downloadCode()">二维码批量生成并下载</button>
			<span ng-show="sonOperate_show">
				<button class="k-button k-state-default" ng-click="productUpOrDown(true)">上架</button>
				<button class="k-button k-state-default" ng-click="productUpOrDown(false)">下架</button>
				<button class="k-button k-state-default" ng-click="downloadBySearch()">筛选导出</button>
				<button class="k-button k-state-default" ng-click="downloadByChoose()">选中导出</button>
				<button class="k-button k-state-default" ng-click="addProduct()">新增产品</button>
				<button class="k-button k-state-default" ng-click="addProduct()">显示价格</button>
			</span>
		</div>
	
		<div class="tableList">
			<div kendo-grid="grid" k-options="gridOptions"></div>
		</div>
	</div>

</div>